Filter hook 'pre_{$field}'

in WP Core File wp-includes/post.php at line 2945

Description

Filters the value of a specific post field before saving. The dynamic portion of the hook name, `$field`, refers to the post field name.

Occurrences

Filename Line Number
wp-includes/post.php 2945
wp-includes/user.php 1836
wp-includes/bookmark.php 440

Parameters

Type Name Description
mixed $value Value of the post field.

PHP Doc

/**
			 * Filters the value of a specific post field before saving.
			 *
			 * The dynamic portion of the hook name, `$field`, refers to the post
			 * field name.
			 *
			 * @since 2.3.0
			 *
			 * @param mixed $value Value of the post field.
			 */